@charset "UTF-8";

//
// @copyright        2017 opencart.cn - All Rights Reserved
// @link             http://www.guangdawangluo.com
// @author           Pu shuo <pushuo@opencart.cn>
// @created          2017-09-26 11:13:24
// @modified         2017-12-08 16:35:28
//

#account-voucher{
    padding-bottom: 40px;
}

#account-account {
    margin-top: 46px;
    h2 {

        padding-bottom: 11px;
        border-bottom: 1px solid #eee;

        @media (max-width: 768px) {
            font-size: 17px;
        }
    }

    .list-unstyled {
        margin-bottom: 25px;

        @media (max-width: 768px) {
            margin-bottom: 12px;
        }

        a {
            position: relative;
            display: block;
            padding: 6px 0 6px 22px;
            font-size: 14px;
            color: #666;
            @include transition(all .3s ease 0s);

            @media (max-width: 768px) {
                font-size: 14px;
                padding: 5px 0 5px 22px;
            }

            &:hover {
                padding-left: 32px;
                color: $brand-primary;
                &:before {
                    color: $brand-primary;
                }
            }

            &:before {
                content: '\f178';
                font-family: 'fontawesome';
                position: absolute;
                top: 6px;
                left: 0;
                color: #bbb;
                @media (max-width: 768px) {
                    top: 5px;
                }
            }
        }
    }

}

@media (min-width: 1200px) {
    #account-password,
    #account-order,
    #account-address,
    #account-express,
    #account-edit {
        width: 1200px;
        padding-left: 0;
        padding-right: 0;

    }
}

@media (min-width: 1200px) {
    #account-order{
        width: 1336px;
        transform: translateX(68px);
        .col-sm-3{
            width: 14.4%;
        }
        .col-sm-9{
            width: 85.6%;
        }
    }
}

#account-order{
    margin-top: 46px;
    .no-border-right {
        border-right: none;
    }
    .order-product-container {
        max-width: 300px;
        display: flex;
        .product-image {
            min-width: 100px;
            max-width: 100px;
            height: 100px;
            margin-right: 14px;
            overflow: hidden;
            font-size: 0;
            background-color: #F0F0F0;
            img {
                width: 100%;
                height: 100%;
            }
        }
        .product-name {
            line-height: 19px;
            font-size: 14px;
            text-align: left;
            a{
                color: #333333;
                &:hover{
                    color: $brand-primary;
                }
            }
        }
    }
}

#account-password,
#account-edit {
    margin-top: 46px;
    .account-password-content,
    .account-edit-content {
        padding-top: 34px;
        form{
            .form-group {
                margin-bottom: 28px;
                label {
                    //height: 19px;
                    line-height: 19px;
                    font-size: 14px;
                    font-weight: bold;
                    margin-bottom: 10px;
                }
            }
            .btn{
                height:44px;
                font-size: 16px;
                line-height:44px;
                padding: 0 36px;
            }
        }

        .telephone-wrapper{
            font-size: 0;
            .dial_code{
                vertical-align: top;
                display: inline-block;
                width: 18%;
                margin-right: 2%;
            }

            .telephone{
                display: inline-block;
                width: 80%;
            }
        }

    }

}

#account-address{

    .account-address-list{
        padding-top: 34px;
        padding-bottom: 110px;
    }
    .account-address-list-title{
        height:20px;
        font-size:14px;
        font-weight:bold;
        line-height:20px;
        margin-bottom: 22px;
    }
    margin-top: 46px;
    .default-address {
        display: inline-block;
        padding-left: 10px;
        padding-right: 10px;
        height: 22px;
        line-height: 22px;
        margin-bottom: 10px;
        font-size: 12px;
        color: #333;
        border-radius: 12px;
        background-color: #dde0e5;
    }
    .addresses-item {
        border: 1px solid #E6E6E6;
        position: relative;
        padding: 12px 40px 14px 24px;;
        margin-top: -1px;
        .address-item-content {
            font-size:14px;
            line-height:20px;
        }
        .addresses-item-operation {
            position: absolute;
            right: 0;
            top: 50%;
            -webkit-transform: translate(0, -50%);
            -moz-transform: translate(0, -50%);
            -ms-transform: translate(0, -50%);
            -o-transform: translate(0, -50%);
            transform: translate(0, -50%);
            & > a {
                margin: 15px;
                font-size:16px;
                line-height:21px;
            }
            .addresses-item-operation-delete {
                color: #B2B2B2;
            }
        }
    }

    .account-address-content{
        padding-top: 34px;
        .account-address-content-title{
            height:20px;
            font-size:14px;
            font-weight:bold;
            line-height:20px;
            margin-bottom: 22px;
        }
        form{
            .control-label{
                font-size: 14px;
                font-weight: normal;
            }
            input[type='submit']{
                height:44px;
                font-size:16px;
                padding: 0 36px;
                line-height: 44px;
            }
        }
        padding-bottom: 118px;
        .set-default {
            position: relative;
            margin-top: 12px;
            margin-right: 28px;
            input[type='checkbox'] {
                -webkit-appearance: none;
                &:checked + div {
                    &:before {
                        position: absolute;
                        top: -3px;
                        bottom: 0;
                        left: 0;
                        right: 0;
                        margin: auto;
                        content: "";
                        width: 0;
                        height: 0;
                        border: 5px solid #000;
                        border-top-width: 3px;
                        border-bottom-width: 3px;
                        transform: rotateZ(-45deg);
                        z-index: -2;
                    }
                    &:after {
                        position: absolute;
                        top: -7px;
                        bottom: 0;
                        left: 0;
                        right: 0;
                        margin: auto;
                        content: "";
                        width: 0;
                        height: 0;
                        border: 5px solid #fff;
                        border-top-width: 3px;
                        border-bottom-width: 3px;
                        border-top-right-radius: 50%;
                        transform: rotateZ(-45deg);
                        z-index: -1;
                    }
                }
            }
            .default-label {
                width: 108px;
                margin: 0;
                text-align: right;
                background-color: transparent;
                font-size: 14px;
                cursor: pointer;
            }
            .checkbox-box {
                position: absolute;
                top: 0;
                left: 0;
                width: 16px;
                height: 16px;
                margin-top: 2px;
                margin-right: 8px;
                background-color: transparent;
                border: 1px solid #cccccc;
                opacity: 1;
                border-radius: 4px;
                z-index: -1;
            }
        }
    }
}




